package com.service;

import com.github.pagehelper.PageInfo;
import com.pojo.Order;
import org.apache.ibatis.annotations.Param;


public interface OrderService {
    //查询所有订单信息（按支付状态分）
    //查询所有订单信息
    public PageInfo<Order> selectAllOrder(int pageNum,String ispay, long userId);
    //将订单信息插入数据库表
    public int insertOrder(Order order);
    //删除订单项目根据Id
    public int deleteOrderProject(long orderId);
    //插入订单返回id
    public int startOrder(Order order);
    //修改订单支付状态
    public int updataOrderStatus(long id,String payOrderNum);
    //根据订单id 查询订单信息
    public Order selectOrderById(long id);
}
